package com.leslie.hhcommunity.dao.elasticsearch;

import com.leslie.hhcommunity.entity.DiscussPost;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;
//继承ElasticsearchRepository，并指明实体类型和ID类型
@Repository
public interface DiscussPostRepository extends ElasticsearchRepository<DiscussPost, Integer> {
}
